﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MySqlTest
{
    public partial class Demo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var dt = new DataTable();
            PetaPoco.Database.db.Fill(dt, "select * from app;");
            Response.Write(dt.Rows.Count);
        }
    }
}